jade.content.abs
Class AbsCommunicativeAct
java.lang.Object
|
+--jade.content.abs.AbsObject
|
+--jade.content.abs.AbsContentElement
|
+--jade.content.abs.AbsGenericAction
|
+--jade.content.abs.AbsCommunicativeAct
- public class AbsCommunicativeAct
- extends AbsGenericAction
- Author:
- Federico Bergenti - Universita` di Parma
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AbsCommunicativeAct
public AbsCommunicativeAct(java.lang.String name)
- Constructor
- Parameters:
name - name of the communicative act.
set
public void set(java.lang.String name,
AbsContentElement value)
throws UngroundedException
- Sets a parameter of the communicative act.
- Parameters:
name - the name of the paramter.value - the value of the paramter.- Throws:
- UngroundedException -
getAbsContentElement
public AbsContentElement getAbsContentElement(java.lang.String name)
- Gets the value of a parameter.
- Parameters:
name - the name of the parameter.- Returns:
- the value of the parameter.
setSender
public void setSender(AbsAID sender)
- Sets the sender of the communicative act.
- Parameters:
sender - the sender
setReceivers
public void setReceivers(AbsAggregate receivers)
- Sets the receivers of the communicative act.
- Parameters:
receivers - the list of receivers.
getSender
public AbsAID getSender()
- Gets the sender of the communicative act.
- Returns:
- the sender.
getReceivers
public AbsAggregate getReceivers()
- Gets the receivers of the communicative act.
- Returns:
- the list of receivers.